<template>
  <article class="main">
    <h1 class="plat-name">
      常用工具集成平台
      <a
        @click="
          () => {
            COMMON_FUNC.goTo('/notFound');
          }
        "
      >
        &#9755;
      </a>
    </h1>
  </article>
</template>

<script lang="ts" setup>
  import { COMMON_FUNC } from '../utils/common-func';
</script>
<style lang="scss" scoped>
  .main {
    background: url('/public/img/welcome.png');
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    height: 100%;
  }

  .plat-name {
    font-size: 48px;
    background: rgba(13, 19, 62, 0.7);
    border: 2px solid #24b1ff;
    padding: 2px 12px;
    border-radius: 8px;
    > a {
      cursor: pointer;
    }
  }
</style>
